<?php
/**
 * Created by PhpStorm.
 * user: songlintao
 * Date: 2017/9/4
 * Time: 下午2:24
 */

namespace app\ctrl;


use app\model\goods;
use core\lib\baseCtrl;

class goodsCtrl extends baseCtrl {

	public function goodList() {
		$page     = D( 'page', 1 );
		$pageSize = D( 'pageSize', 15 );
		$goods    = new goods();
		$ret      = $goods->goodList( $page, $pageSize );
		API( null, null, $ret );
	}

}